package com.petter.jvm.classLoadOrder;

/**
 * @author : GD
 * @date :2021/9/13 : 18:44
 */
public class TestChild {
    public static void main(String[] args) {
        Uncle uncle = new Uncle();
//        uncle.show();
        Child child = new Child();
        child.show();
    }



    /**
     * 输出结果：
     * static GrandParent
     * static Uncle
     * new GrandParent
     * new Uncle
     * static Parent
     * static Child
     * new GrandParent
     * new Parent
     * new Child
     * show Child
     */
}
